html {
    --imgSize: 400px;
    --iconSize: 20px;
    --labelSize: 17px;
    --titleSize: 17px;
    --btnSize: 40px;
    --bannerHeight: 50px;
    height: 100%;
}
body {
    width: 100%;
    height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}
.content-container {
    height: 100%;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}
.banner {
    background: #303841;
    position: sticky;
    left: 0;
    top: 0;
    width: 100%;
    height: var(--bannerHeight);
    box-shadow: 0 0 10px #ff0000;
    z-index: 666;
}
#btn-back {
    background-image: url("${PROXY_URL}/__icon__/back.svg");
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
#btn-back:hover {
    background-image: url("${PROXY_URL}/__icon__/back_h.svg");
}
#btn-back:active {
    background-image: url("${PROXY_URL}/__icon__/back_a.svg");
}
#btn-download {
    background-image: url("${PROXY_URL}/__icon__/download.svg");
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
#btn-download:hover {
    background-image: url("${PROXY_URL}/__icon__/download_h.svg");
}
#btn-download:active {
    background-image: url("${PROXY_URL}/__icon__/download_a.svg");
}
.banner-title {
    color: white;
    font-size: var(--titleSize);
    position: absolute;
    left: 50%;
    top: 50%;
    max-height: 100%;
    transform: translate(-50%, -50%);
    overflow: scroll;
    word-break: break-all;
}
.banner-title::-webkit-scrollbar {
    display: none;
}
.banner-title::-moz-scrollbar {
    display: none;
}
.mainbody {
    padding: 5px;
    text-align: center;
    flex: 1;
    overflow-y: scroll;
}
.img {
    margin: 20px;
    max-width: var(--imgSize);
    width: 80%;
    box-shadow: 0 0 5px black;
    vertical-align: middle;
}
.img-lazy {
    min-width: 150px;
    min-height: 150px;
}
.av-con img {
    margin: 20px;
    max-width: var(--imgSize);
    max-height: 300px;
    width: 80%;
    box-shadow: 0 0 5px black;
    vertical-align: middle;
    object-fit: contain;
}
.av-con {
    box-shadow: 0 0 5px black;
    border: 1px solid black;
    color: wheat;
    background: black;
    max-width: 600px;
    margin: auto;
}
.video {
    width: 80%;
    height: 400px;
    margin: auto;
    margin-bottom: 5px;
}
#can-audio, #player-audio {
    width: 80%;
}
.av-title {
    font-size: var(--labelSize);
    word-break: break-all;
    margin: 10px;
}
#location-path span {
    padding: 5px;
    display: inline-block;
}
.sub-dir, .file {
    font-size: var(--labelSize);
    text-align: left;
    width: 100%;
}
.sub-dir img, .file img, #location-path img {
    height: var(--iconSize);
    vertical-align: middle;
}
.sub-dir a, .file a {
    overflow: hidden;
    word-wrap: break-word;
    vertical-align: middle;
}
footer {
    background: #f1f1f1;
    width: 100%;
    height: var(--bannerHeight);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px #4f4f4f;
}
.mainbody, footer {
    text-shadow: 0 0 20px #ff5c00;
}
.btn-normal {
    width: var(--btnSize);
    height: var(--btnSize);
    border: none;
    background-color: transparent;
    background-repeat: round;
    background-size: cover;
    cursor: pointer;
}


.toastify {
    padding: 12px 20px;
    color: #ffffff;
    display: inline-block;
    box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(77, 96, 232, 0.3);
    background: -webkit-linear-gradient(315deg, #73a5ff, #5477f5);
    background: linear-gradient(135deg, #73a5ff, #5477f5);
    position: fixed;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    max-width: calc(50% - 20px);
    z-index: 2147483647;
}

.toastify.on {
    opacity: 1;
}

.toast-close {
    background: transparent;
    border: 0;
    color: white;
    cursor: pointer;
    font-family: inherit;
    font-size: 1em;
    opacity: 0.4;
    padding: 0 5px;
}

.toastify-right {
    right: 15px;
}

.toastify-left {
    left: 15px;
}

.toastify-top {
    top: -150px;
}

.toastify-bottom {
    bottom: -150px;
}

.toastify-rounded {
    border-radius: 25px;
}

.toastify-avatar {
    width: 1.5em;
    height: 1.5em;
    margin: -7px 5px;
    border-radius: 2px;
}

.toastify-center {
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    max-width: fit-content;
    max-width: -moz-fit-content;
}

@media only screen and (max-width: 360px) {
    .toastify-right, .toastify-left {
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        max-width: fit-content;
    }
}